package com.dy.lock.screen.service;

import java.util.List;

import com.dy.lock.screen.pojo.MerchantAddress;
import com.dy.lock.screen.scoket.Head;

public interface MerchantAddressService {

	/**
	 * 通过商户id查询列表
	 * 
	 * @param para
	 * @param head
	 * @return
	 */
	public List<MerchantAddress> queryByMerchantId(String merhcantId, Head head);

	/**
	 * 查询最近的商家
	 * 
	 * @param goodsId
	 * @param sourceLat
	 * @param sourceLng
	 * @return
	 */
	public List<MerchantAddress> getNearestMerchantAddress(String goodsId,
			Float sourceLat, Float sourceLng);

	/**
	 * 查询总数
	 * 
	 * @param merhcantId
	 * @param head
	 * @return
	 */
	public Integer queryCountByMerchantId(String merhcantId, Head head);
}
